<div id="gallery" class="upload_form" style="display:none;">

	<div class="row-fluid">

		<div class="span12">
		<h2 class="rubrik">Billeder af dff<span class="ink"><? echo $navne[0]; ?></span></h2>
			<?

			echo "Upload billede";
			$deltager = $this->session->userdata('deltager');

			echo $id;
			echo br();
			echo $deltager['userid'];

				?>
			<div class="upload">
				<?
				echo form_open_multipart("core/rediger/upload_billede/".$id);
				echo form_hidden('deltager_id', $deltager['userid']);
				//echo form_hidden('type', $this->uri->segment(4));
				echo form_hidden('element_id', $this->uri->segment(3));
				//echo "<h3 class='ink'>Hvad og hvem er på billedet?</h3><br>";		
				echo form_input('titel','');
				echo br(2);
				echo "<h3 class='ink'>Vælg kilde</h3>";
				echo form_upload('userfile');
				echo form_submit('upload','Upload');
				echo form_close();
	
				?>
			</div>


		</div>

	</div>

</div>


<script type="text/javascript">

	$("#gallery_toggle").click(function() {
		$("#gallery").slideToggle("slow");
	}); 

</script>

